Remove Follower
DELETE /:name/follower
Description
Removes a follower from the authenticated account. This route only works when the authenticated account is private.
Request Parameters
Requires Authentication: true
PATH PARAMS
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Username of the follower to remove. |
Usage Example
await axios.delete("https://api.daykeeper.app/johndoe/follower", {
headers: {
Authorization: `Bearer ${accessToken}`,
},
})
Success Response
{
"message": "johndoe's follow removed successfully"
}
Error Response
| Code | Description |
|---|---|
| 401 | Missing or invalid access token |
| 402 | Target user is banned |
| 403 | Account is not private |
| 404 | User not found or does not follow you |
| 500 | Server error |